import request from '@/router/axios';

//-------------------- 规范文件-------------------//
// 刪除
export const getshanchu = (params) => {
	return request({
		url: '/api/blade-module/systemjilufilesprocess/deleteFile',
		method: 'post',
		data: params
	})
}
// 備份
export const getFuzhi = (params) => {
	return request({
		url: '/api/blade-module/systemjilufilesprocess/backupFile',
		method: 'post',
		data: params
	})
}
// 详情
export const getjiluDetail = (params) => {
	return request({
		url: '/api/blade-module/systemjilufilesprocess/detail',
		method: 'get',
		params: params
	})
}
// 列表
export const getjiluList = (params) => {
	return request({
		url: '/api/blade-module/systemjilufilesprocess/list',
		method: 'get',
		params: params
	})
}
// 创建
export const savefiles = (params) => {
	return request({
		url: '/api/blade-module/systemjilufilesprocess/save',
		method: 'post',
		data: params
	})
}
// 审核、评审、批准详情
export const getdealDetail = (params) => {
	return request({
		url: '/api/blade-module/systemjilufilesprocess/dealDetail',
		method: 'post',
		params: params
	})
}
// 审核、评审、批准
export const deal = (params) => {
	return request({
		url: '/api/blade-module/systemjilufilesprocess/deal',
		method: 'post',
		data: params
	})
}
